<!DOCTYPE html>
{% if g.wxauthurl %}<script>location.href="{{g.wxauthurl|safe}}"</script>{% else %}
<html>
    <head>
        <title>AGM页面访问失败</title>
        <link rel="stylesheet" href="/static/weui.min.css">
        <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
        <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style>
            .page, body{background-color: #fbf9fe}
            .page_title{color:#225fba}
            .hd{text-align:center}
            .weui_label{width:4em;}
            .bd{padding-bottom:30px;}
        </style>
    </head>
    <body>
        <div class="weui_msg">
            <div class="weui_icon_area"><i class="weui_icon_msg weui_icon_warn weui_icon_msg"></i></div>
            <div class="weui_text_area">
                <h2 class="weui_msg_title">页面禁止访问</h2>
                <p class="weui_msg_desc">抱歉,您并未授权或无权限访问本页面<br/>按确定返回微官网</p>
            </div>
            <div class="weui_opr_area">
                <p class="weui_btn_area">
                    <a href="/" class="weui_btn weui_btn_primary">确定</a>
                </p>
            </div>
        </div> 
    </body>    
<html>
{% endif %}